﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

using One.Framework.UI.Handlers;

namespace SH.LMS.Web.UI.Handler
{
    /// <summary>
    /// Common의 요약 설명입니다.
    /// </summary>
    public class Common : BaseHandler
    {
        public string getdata()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add(new DataColumn("id", typeof(string)));
            dt.Columns.Add(new DataColumn("title", typeof(string)));
            dt.Columns.Add(new DataColumn("content", typeof(string)));

            DataRow dr = dt.NewRow();
            dr["id"] = "1";
            dr["title"] = "aaa";
            dr["content"] = "dsfsdfds";
            dt.Rows.Add(dr);

            dr = dt.NewRow();
            dr["id"] = "2";
            dr["title"] = "Bbbbb";
            dr["content"] = "dsfsdfds";
            dt.Rows.Add(dr);
            return base.GetContentTypeData(dt);
        }
    }
}